package com.beiding.workordersystem.orders.generalorder.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Getter
@Setter
public class GeneralOrderVo {

    private String id;

    private String service;

    //类型id
    @NotNull
    private String typeId;

    @NotNull
    private Double fee;

    //客户id
    @NotNull
    private String customerId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    private Double feeGot;

    private Double feeNotGot;


}
